package syntaxtree;

import visitor.IRTreeVisitor;
import visitor.Visitor;
import visitor.TypeVisitor;

public class ClassDeclExtends extends ClassDecl {

    public Identifier i;
    public Identifier j;
    public VarDeclList vdl;
    public MethodDeclList mdl;

    public ClassDeclExtends(Identifier ai, Identifier aj, VarDeclList avl,
            MethodDeclList aml) {
        i = ai;
        j = aj;
        vdl = avl;
        mdl = aml;
    }

    @Override
    public void accept(Visitor v) {
        v.visit(this);
    }

    @Override
    public Type accept(TypeVisitor v) {
        return v.visit(this);
    }

    @Override
    public Translate.Exp accept(IRTreeVisitor v) {
        return v.visit(this);

    }
}
